package com.qfedu.mbg.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class OmsPayRecord implements Serializable {
    @ApiModelProperty(value = "结算表id")
    private Integer id;

    @ApiModelProperty(value = "结算日期")
    private Date recordDate;

    @ApiModelProperty(value = "支付方式id")
    private Integer payTypeId;

    @ApiModelProperty(value = "总支付金额")
    private BigDecimal payMoney;

    @ApiModelProperty(value = "支付订单数量")
    private Integer payNum;

    @ApiModelProperty(value = "总退款金额")
    private BigDecimal backMoney;

    @ApiModelProperty(value = "退款订单数量")
    private Integer backNum;

    @ApiModelProperty(value = "结算金额（支付减去退款）")
    private BigDecimal totalMoney;

    @ApiModelProperty(value = "结算批次号")
    private String recordNo;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(Date recordDate) {
        this.recordDate = recordDate;
    }

    public Integer getPayTypeId() {
        return payTypeId;
    }

    public void setPayTypeId(Integer payTypeId) {
        this.payTypeId = payTypeId;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public Integer getPayNum() {
        return payNum;
    }

    public void setPayNum(Integer payNum) {
        this.payNum = payNum;
    }

    public BigDecimal getBackMoney() {
        return backMoney;
    }

    public void setBackMoney(BigDecimal backMoney) {
        this.backMoney = backMoney;
    }

    public Integer getBackNum() {
        return backNum;
    }

    public void setBackNum(Integer backNum) {
        this.backNum = backNum;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getRecordNo() {
        return recordNo;
    }

    public void setRecordNo(String recordNo) {
        this.recordNo = recordNo;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", recordDate=").append(recordDate);
        sb.append(", payTypeId=").append(payTypeId);
        sb.append(", payMoney=").append(payMoney);
        sb.append(", payNum=").append(payNum);
        sb.append(", backMoney=").append(backMoney);
        sb.append(", backNum=").append(backNum);
        sb.append(", totalMoney=").append(totalMoney);
        sb.append(", recordNo=").append(recordNo);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}